package tagdb.model;

import com.compomics.util.experiment.biology.Protein;
import com.compomics.util.protein.AASequenceImpl;

/**
 * This class is used to provide additional information of a protein for a given
 * peptide sequence.
 *
 * @author Thilo Muth
 */
public class ExtendedSequenceImpl extends AASequenceImpl {

    private Protein protein;

    public ExtendedSequenceImpl(java.lang.String aSequence) {
        super(aSequence);
    }

    /**
     * Sets the protein.
     *
     * @param protein Protein
     */
    public void setProtein(Protein protein) {
        this.protein = protein;
    }

    /**
     * Returns the protein.
     *
     * @return the protein
     */
    public Protein getProtein() {
        return protein;
    }
}
